<%--
  Created by IntelliJ IDEA.
  User: 迷路的麋鹿
  Date: 2018/4/14
  Time: 17:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <jsp:useBean id="user" scope="request" class="com.pml.bean.Register"/>
    <jsp:setProperty name="user" property="*"/>
<%
    if (user.isValidate()){
%>
    <jsp:forward page="success.jsp"/>
<%
    }else {
%>
    <jsp:forward page="index.jsp"/>
<%}%>
</body>
</html>
